title: Android SSL CN check for each request
body: <p>I need to intercept all requests from my <code>WebView</code> to check CN in SSL certificate. 
  As far as I understand it's possible if
  1. Write my own browser with custom trust manager
  2. Use javascript bridge for all requests form the <code>WebView</code> and use the same <code>SSLSocketFactory</code> with custom trust manager.</p>
  
  <p>Does anybody know other ways of doing that? Seems like extending webkit is the only good idea.</p>
  
  <p>Thanks.</p>