Encode userInfo + add to/from java.net.URI convenience methods