Some socket bugfixes
Some bugfixes in JSON validation and SOCKS sockets
Default proxy set to "socks5" (remote DNS resolution)