Switched names to factories.
Added unit testing in the TODO.
Added the proxify feature in the TODO.
Changed port number according to doc.
Grab ip from socket module.
Factories should communicate.
Client now connects though client-listener only.
Refactored methods.
Changed name \'client-listener\' to \'bar-daemon\'.
Update name of daemon in pybar.
Refactored BAR server code.
Renamed server.py to bar-server.py
Changed process name as well.
Removed login function. We should not bother with login functionality now.
Client should close connection immediately.
We remove this, no need to import it anymore.
Daemon should also close connection.