Fix constructor of SocketException

This prevents an error when used without sockets extension.
Slightly improve contribution guidelines