Remove POST codes in alternate.php
Add simple error handling for ratchet server