Refactored available presence handler
Refactored parsing caps
Store capabilities against fulljid when unsupported hash