Provides a way to create socks client or server both 4 and 5 version.