Fixed raw sockets implementation

-> modified parameters for opening live capture
-> added Makefile
-> added extra parameter for filter registration

Signed-off-by: Mihaela Martinas <martinas.mihaela21@gmail.com>
Test file for socket_api

Modified Makefile from test folder to include socket_api test.
Implemented test for receiving data using pcap.

Signed-off-by: Mihaela Martinas <martinas.mihaela21@gmail.com>