expose sockname
fix ProxyError inheritance