Solved Stage b and improved socket API.