Improved the netwoking layer

1. Added async operations for good non-blocking behaviours.
2. Revamped remote_log.h it's now remote_debug.h