open a connection to the local http server