Adds support for invalid server response to phantom#CreateSession