Add new constants.
Add raising for socks if opening channel prohibited