Added basic patching / protocol handler stuff

Signed-off-by: IUnknown68 <arne@salsitasoft.com>