Add Transport:shutdown/2

Allows closing the socket in one or two directions.