Add a serverOptions interface and pass the whole options object into the socket module