message request connection, will be used for phantomjs testing later