Now checks if Client is actually connected before trying to send any data.

closes #14