'Open a connection.
@param u2request: A urllib2 request.
@type u2request: urllib2.Requet.
@return: The opened file-like urllib2 object.
@rtype: fp'

def u2open(self, u2request):

    tm = self.options.timeout
    url = self.u2opener()
    if (self.u2ver() < 2.6):
        socket.setdefaulttimeout(tm)
        return url.open(u2request)
    else:
        return url.open(u2request, timeout=tm)
