Issue 338

I've minimized the amount of changes:

-- If I don't pass the connection and server in RemoteHandler.php, doesn't work.
-- If I don't check for the connection -and- the server in ConnectionsHandler.php, doesn't work.

Also, all the tests pass now ;).

In any case, please check it out for I've only spent a few hours on it and I don't have the full understanding on how everything works.