Update Protocol.php

case-insensitive, may be "upgrade"
update strpos
Merge pull request #31 from feifengxlq/master

http header "connection" may be case-insensitive