address issue #17894 with the close method. I tested against test_socket_cpy and urllib2
made changes to the assignment of _isOpen and used the PythonOps.TryGetBoundAttr
Merge remote-tracking branch 'fdanny/socket_updates' into ipy-2.7-maint