Fix for #834

As promised, integrated a memorizing trust manager. Additionally, I redesigned the connection preference screen a bit. Let me know if you like it as I'm definitly no UX expert :-). To make some stuff a little bit easier I'm following Googles advice and use the HttpUrlConnection. I have no server with client certificate authentication and could therefore not test that, the rest works just fine for me.