Strip last semicolon from protocol

Node.js idiom is to have a semicolon in a parsed url.protocol field.
Removing it allows better integration with existing code.