Add example of passing in app options to socket handler