making convenience method public

This can be useful outside of Alamofire when creating custom
URLRequestConvertible objects