Added 'private' and 'hidden' sprint flags. Fixes #241
Fixed typo in get_websocket_port()