added ports conversion from bet to host order.
fixed new connection creation.