Changes to enable comunication with Wifly

This module use a opened tcp connection to send message.

Need a better refactor to turn things little bit clean.