Add stub version of `split_router_message'
Move message functions in controller.py to rpisps.message

- split_router_message
- decode_message
- encode_message
Remove unused import and variable
Make `is_valid_request' a method of `RequestsThread'