Added BT Socket Check before send

Sending without bluetooth caused a client crash, now check to make sure
the socket is connected before sending.
Merge pull request #4 from sunny27710/master

Added BT Socket Check before send