Compatibility changes for python 2.4

Conflicts:
	sstream-server.py
Merge pull request #2 from Stealthii/python24

Compatibility changes for python 2.4