The title is my question. Android (I\'m using API level 23) gives me an error whenever I try to just replace all instances of Socket with SSLSocket when using SSLSocketFactory.