Close http server

The WebSocketServer.close will close the http server only if it was
internally created. So we should call HttpServer.close manually.
keep consistent style
Merge pull request #610 from Lellansin/master

close http server manually.