Provide Socket.assign/get_assign ex. Closes #381