Implementing instance method 'bind' for ServerSocket and adding tests toit.