WICKET-5287 NumberFormatException when parsing the port from Requests with invalid URIs