Added custom socket factory to urlConnection (works!)