add bindSocket support