replace hacky bare socket handling with proper boost::asio socket handling. Introduces dependency on boost::asio 1.46
fix handling of incoming data
fully functional and tested on tim551