Added protocol for wifi communication and its tests. Validated the protocol