allow for remote connections, update server code