serialization for socks4 implemented