add port to socket