added debug symbols to compiler flags
supporting older version than 1.48

boost::asio::connect function is introduced in 1.48
some replacement is used, maybe some compile time warnings should be thrown?