fix util.parseUri('localhost:3000') bug

'localhost' is blacklisted from being a protocol