* added invalid SSL certificates support
* integrated patches from Ian Whyman:
* support of bad HTTP services implementations (be compatible with '\n' and '\r\n')
* added user/password support for connections in client
* integrated patches from Коренберг Марк:
* use of json module of tornado
* cosmetic changes