Regarding the modifications to lib/request.js mentioned: #30 (comment)
http-headers are supposed to be case insensitive I know @mikeal of request has been adamanat about this.
http://stackoverflow.com/questions/5258977/are-http-headers-case-sensitive
Sounds like a bug with the phantomjs server.