specs. taken from the initial pull request to em-http-request