Adding file transfer structure to chat.
Fixing blocking of chat socket that caused EAGAIN error in socket in OS X environment
Adding file transfer structure to chat line by merging file_transfer in master