Sockets secure implementations

Rebased on `master`.
We need to add/remove interests on the selector thread instead of the main thread. I slightly documented here https://github.com/MobileChromeApps/mobile-chrome-apps/blob/4afb1b6ad0e5db7682dc68c078774b112525965b/chrome-cordova/plugins/chrome.sockets.tcp/src/android/ChromeSocketsTcp.java#L605

I will add a comment here as well.