ADDSOCKET now takes the interface name as well in swift_process. Implemented main_interface_api which will look up the main interface of the machine everytime the socket maulfuncations, and tell it about the new interface. API has some extra comments