switch travis to node 0.10
fix tests

connect does not export proto any more - need to use mock request
directly
stop relying on a 'headers' event from response

it's been deprecated and then removed - use on-headers module insted