Separation of weechat-relay and weechat-android

so i modified your code a lot. I test all but stunnel. so should you decide to merge, i would ask that you check stunnel. if not let me know and ill install stunnel and check this.

everything else works the same. 

my main goal, as to make weechat-relay function more like a library, and in weechat-android could exist methods to increase functionality. its just that weechat relay protocol only supports ssl and plaintext. this way it should be easier to separate the issues between the two