server: remove ws and remove #!/usr/bin/env