Simplified port acquisition in Sockets.