ADDED cerr when socket creation and/or bind failed