Added alternative MessageHandler implementaiton to be able to start the server on OS X