Building out socket framework