shared pointers for SAM sockets
Added prefix support, which enables the homebrew package to work.
Merge branch 'master' of github.com:PrivacySolutions/i2pd

* 'master' of github.com:PrivacySolutions/i2pd:
  shared pointers for SAM sockets
fixed crash
shared pointers for streams
replaced boost::bind to std::bind
shared pointer for I2PTunnelConnection
move WaitForConnect away from constructor
shared pointer for SSU
handle EcDSA signatures
ECDSA P384 and ECDSA P521 support
fixed incorrect certificate length
fixed excess data for P521
use generic receive buffer for phase 4
pass tsA to SendPhase4
send Phase3 with proper identity
handle Phase3 in two steps
Update version.h

version 0.4.0