Add required 'config' parameter to VirtualSocket. Using empty dict for defaults.

pep8 fix
Fix logic in 2 failing tests.
Fix decimal conversion for Python 2.6
Merge pull request #131 from carschar/fixtests

Fix for failing tests