Updated the socket to allow for different web roots