Moved websocket server into pm_server_net module

Out of main and into a networking focused module.
refactoring continues...