Some refactoring was made. id_ is correctly assigned now
Closing socket on finish
SendTransaction class was rewritten (to satisfy task requirements) and now blocks UI thread. It was also tested
Small fixes