if (_url.startsWith("socket://") || _url.startsWith("tls://")
|| _url.startsWith("ssl://")) {
// Send HTTP GET to the server
final OutputConnection outputConn =
(OutputConnection) connection;
os = outputConn.openOutputStream();
final String getCommand =
"GET " + "/" + " HTTP/1.0\r\n\r\n";
os.write(getCommand.getBytes());
os.flush();
}