js strict mode and handshake options

This changes allow to pass handshake options from swarm "user" (usualy peerflix engine) through swarm api to wire instance (peer)

Also code was switched to strict mode