Exclude unsupported protocols for JRuby