Remove String.isEmpty usages, not supported on api level 8 (2.2)
Use OkHttp instead of HttpUrlConnection, fixes unreliable HTTP connection on froyo(2.2) devices