Make server more reliable and added basic header support.
- Allocate a GCHandle for the callback.
- Handle strings as IntPtr and create them lazily.
- Added basic header support.
Added support for known headers.