Revert "Make transactGetSockaddr locale safe"

This reverts commit 5c51657875e0f1f743bfa0347e1745373b13fe39.