Handle bind errors.
Remove useless code.
Merge remote-tracking branch 'origin/master'